package com.gxa.insurance.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author wang li sha
 * @date 2022-06-06 15:43
 */
@ApiModel(value = "汽车品牌的实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class AutomobileBrand implements Serializable {
    @ApiModelProperty(name = "id", value = "编号", dataType = "int", required = false)
    private Integer id;
    @ApiModelProperty(name = "name", value = "名称", dataType = "string", required = true, example = "奔驰")
    private String name;
}
